package com.jiayang.hhotel.bean;

import java.io.Serializable;
import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/5/24 0024.
 * 现住查询列表数据类
 */

public class NowLiveSearchModel implements IModel,Serializable{

    @Override
    public String toString() {
        return "NowLiveSearchModel{" +
                "state=" + state +
                ", info='" + info + '\'' +
                ", preceptionListDto=" + preceptionListDto +
                '}';
    }

    /**
     * state : 9
     * info :
     * preceptionListDto : [{"mark":"","gstname":"","grpname":"","taname":"","arrdate":"2012-06-25","ChkInTime":"11:10:57","DptDate":"2012-06-26","room":"202","rmtype":"BZ","RateType":1,"foliorate":169,"Persons":1,"Register":1},{"mark":"","gstname":"","grpname":"","taname":"","arrdate":"2012-06-25","ChkInTime":"17:26:44","DptDate":"2012-06-28","room":"209","rmtype":"SDC","RateType":1,"foliorate":747,"Persons":1,"Register":2},{"mark":"","gstname":"","grpname":"","taname":"","arrdate":"2012-06-25","ChkInTime":"09:59:33","DptDate":"2012-06-26","room":"211","rmtype":"SDC","RateType":1,"foliorate":4800,"Persons":1,"Register":3}]
     */


    private int state;
    private String info;
    private List<PreceptionListDtoBean> preceptionListDto;

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<PreceptionListDtoBean> getPreceptionListDto() {
        return preceptionListDto;
    }

    public void setPreceptionListDto(List<PreceptionListDtoBean> preceptionListDto) {
        this.preceptionListDto = preceptionListDto;
    }

    public static class PreceptionListDtoBean implements Serializable {
        /**
         * mark :
         * gstname :
         * grpname :
         * taname :
         * arrdate : 2012-06-25
         * ChkInTime : 11:10:57
         * DptDate : 2012-06-26
         * room : 202
         * rmtype : BZ
         * RateType : 1
         * foliorate : 169
         * Persons : 1
         * Register : 1
         */

        private String mark;
        private String gstname;
        private String grpname;
        private String taname;
        private String sex;
        private String arrdate;
        private String ChkInTime;
        private String DptDate;
        private String room;
        private String rmtype;
        private int RateType;
        private double foliorate;
        private int Persons;
        private long Register;

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getMark() {
            return mark;
        }

        public void setMark(String mark) {
            this.mark = mark;
        }

        public String getGstname() {
            return gstname;
        }

        public void setGstname(String gstname) {
            this.gstname = gstname;
        }

        public String getGrpname() {
            return grpname;
        }

        public void setGrpname(String grpname) {
            this.grpname = grpname;
        }

        public String getTaname() {
            return taname;
        }

        public void setTaname(String taname) {
            this.taname = taname;
        }

        public String getArrdate() {
            return arrdate;
        }

        public void setArrdate(String arrdate) {
            this.arrdate = arrdate;
        }

        public String getChkInTime() {
            return ChkInTime;
        }

        public void setChkInTime(String ChkInTime) {
            this.ChkInTime = ChkInTime;
        }

        public String getDptDate() {
            return DptDate;
        }

        public void setDptDate(String DptDate) {
            this.DptDate = DptDate;
        }

        public String getRoom() {
            return room;
        }

        public void setRoom(String room) {
            this.room = room;
        }

        public String getRmtype() {
            return rmtype;
        }

        public void setRmtype(String rmtype) {
            this.rmtype = rmtype;
        }

        public int getRateType() {
            return RateType;
        }

        public void setRateType(int RateType) {
            this.RateType = RateType;
        }

        public double getFoliorate() {
            return foliorate;
        }

        public void setFoliorate(double foliorate) {
            this.foliorate = foliorate;
        }

        public int getPersons() {
            return Persons;
        }

        public void setPersons(int Persons) {
            this.Persons = Persons;
        }

        public long getRegister() {
            return Register;
        }

        public void setRegister(long Register) {
            this.Register = Register;
        }

        @Override
        public String toString() {
            return "PreceptionListDtoBean{" +
                    "mark='" + mark + '\'' +
                    ", gstname='" + gstname + '\'' +
                    ", grpname='" + grpname + '\'' +
                    ", taname='" + taname + '\'' +
                    ", sex='" + sex + '\'' +
                    ", arrdate='" + arrdate + '\'' +
                    ", ChkInTime='" + ChkInTime + '\'' +
                    ", DptDate='" + DptDate + '\'' +
                    ", room='" + room + '\'' +
                    ", rmtype='" + rmtype + '\'' +
                    ", RateType=" + RateType +
                    ", foliorate=" + foliorate +
                    ", Persons=" + Persons +
                    ", Register=" + Register +
                    '}';
        }
    }
}
